"""列表"""
# a=1

# l1 = ['physics', 'chemistry', 1997, 2000]
# l2 = [1, 2, 3, 4, 5 ]
# l3 = ["a", "b", "c", "d"]
# l4=[1,2,3,4,[1,2,3],'3',1+3,{'a':3},1.5]
'''查'''
# print(type(l4))

# l = ["a", "b", "c", "d"]
# print(l[0])
# print(l.index('a'))

'''增删改'''
# l = ["a", "b", "c", "d",'a']
# print(l)
# l.append('a')
# print(l)
# l.insert(1,2)
# print(l)
# l.pop()
# l.pop(0)
# print(l)
# l.remove('a')
# print(l)
# l.clear()
# print(l)
# del l[4]
# del l[:3:2]
# print(l)
# l[0]=1
# print(l)


'''其他'''
# l=[1,2,3,50,6,1,5,3]
# l.sort(reverse=False)
# print(l)
# l.sort(reverse=True)
# print(l)
# l.reverse()
# print(l)


'''列表相加、相乘'''
# l=[1,2,3,50,6,1,5,3]
# l1=[1,2,'3']
# print(l+l1)
# l.extend(l1)
# print(l)
# print(l1*3)

'''max(),min(),sum(),len(),'''
# l=[1,2,3,50,6,1,5,3]
#
# print(max(l))
# print(min(l))
# print(sum(l))
# print(len(l))